package com.ruoyi.web.controller.mall.goodsTag.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;

/**
 * 商品标签对象 goods_tag
 * 
 * @author ruoyi
 * @date 2021-01-18
 */
public class GoodsTag //extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;
    private String shopId;

    /** 标签名称 */
    @Excel(name = "标签名称")
    private String name;

    /** 前台显示 */
    @Excel(name = "前台显示")
    private Integer onIndex;

    /** 标签图片 */
    @Excel(name = "标签图片")
    private String imgurl;

    /** 图片透明度 */
    @Excel(name = "图片透明度")
    private Long transparency;

    /** 排序字段 */
    @Excel(name = "排序字段")
    private Long location;

    /** 创建用户id */
    @Excel(name = "创建用户id")
    private Long userIdCreate;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtCreate;

    /** 修改时间 */
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtModified;

    /** 删除标记 */
    private Integer delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setOnIndex(Integer onIndex) 
    {
        this.onIndex = onIndex;
    }

    public Integer getOnIndex() 
    {
        return onIndex;
    }
    public void setImgurl(String imgurl) 
    {
        this.imgurl = imgurl;
    }

    public String getImgurl() 
    {
        return imgurl;
    }
    public void setTransparency(Long transparency) 
    {
        this.transparency = transparency;
    }

    public Long getTransparency() 
    {
        return transparency;
    }
    public void setLocation(Long location) 
    {
        this.location = location;
    }

    public Long getLocation() 
    {
        return location;
    }
    public void setUserIdCreate(Long userIdCreate) 
    {
        this.userIdCreate = userIdCreate;
    }

    public Long getUserIdCreate() 
    {
        return userIdCreate;
    }
    public void setGmtCreate(Date gmtCreate) 
    {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtCreate() 
    {
        return gmtCreate;
    }
    public void setGmtModified(Date gmtModified) 
    {
        this.gmtModified = gmtModified;
    }

    public Date getGmtModified() 
    {
        return gmtModified;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("onIndex", getOnIndex())
            .append("imgurl", getImgurl())
            .append("transparency", getTransparency())
            .append("location", getLocation())
            .append("userIdCreate", getUserIdCreate())
            .append("gmtCreate", getGmtCreate())
            .append("gmtModified", getGmtModified())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
